#!/bin/bash
sum()
{
	sum=$[$1+$2]
	echo $sum
	return $sum

}

read -p "请输入第一个数值：" n1
read -p "请输入第一个数值：" n2
sum $n1 $n2
echo $sum

